<?php
if (! defined ( 'BASEPATH' ))
    exit ( 'No direct script access allowed' );
class Faq {
    var $CI;
    public function __construct() {
        $this->CI = & get_instance ();
    }
    public function get_faq_type() {
        $this->CI->load->model ( "faq_model" );
        return $this->CI->faq_model->get_faq_type ();
    }
    public function get_faq_list($type_id) {
        $this->CI->load->model ( "faq_model" );
        return $this->CI->faq_model->get_faq_list ($type_id);
    }
    
    public function get_faq_info ($faq_id){
        $this->CI->load->model ( "faq_model" );
        return $this->CI->faq_model->get_faq_info ($faq_id);
    }
}